package com.qingcheng.service.comment;

import com.qingcheng.pojo.comment.SensitiveWords;

import java.util.List;

/**
 * 过滤敏感词汇
 */
public interface CommmentServiceByWKF {

    //1.过滤敏感词汇
    public String filterSensitiveWords(String content);

    //2.增加敏感词汇
    public boolean addSensitiveWords(String content);

    //3.设置不使用敏感词汇
    public boolean deleteSensitiveWords(String content);

    //4.恢复使用敏感词汇
    public boolean returnSensitiveWords(String content);

    //5.显示所有敏感词汇 新增SensitiveWords对象,里面含有id和敏感词汇字段
    public List<SensitiveWords> selectAllSensitiveWords();

    //6.显示分页敏感词汇 新增SensitiveWords对象,里面含有id和敏感词汇字段
    public List<SensitiveWords> selectSomeSensitiveWords(Integer start, Integer size);

}
